package com.efast.dmom.mgmt.service.les.impl;

import java.util.List;

import com.efast.dmom.mgmt.dao.les.TtWhmMaterialSendDao;
import com.efast.dmom.mgmt.entity.les.TtWhmMaterialSend;
import com.efast.dmom.mgmt.service.les.TtWhmMaterialSendService;
import com.efast.dmom.mgmt.utils.Assist;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class TtWhmMaterialSendServiceImpl implements TtWhmMaterialSendService {
	@Autowired
	private TtWhmMaterialSendDao ttWhmMaterialSendDao;

	@Override
	public long getTtWhmMaterialSendRowCount(Assist assist) {
		return ttWhmMaterialSendDao.getTtWhmMaterialSendRowCount(assist);
	}

	@Override
	public List<TtWhmMaterialSend> selectTtWhmMaterialSend(Assist assist) {
		return ttWhmMaterialSendDao.selectTtWhmMaterialSend(assist);
	}

	@Override
	public TtWhmMaterialSend selectTtWhmMaterialSendByObj(TtWhmMaterialSend obj) {
		return ttWhmMaterialSendDao.selectTtWhmMaterialSendByObj(obj);
	}

	@Override
	public TtWhmMaterialSend selectTtWhmMaterialSendById(Integer id) {
		return ttWhmMaterialSendDao.selectTtWhmMaterialSendById(id);
	}

	@Override
	public int insertTtWhmMaterialSend(TtWhmMaterialSend value) {
		return ttWhmMaterialSendDao.insertTtWhmMaterialSend(value);
	}

	@Override
	public int insertNonEmptyTtWhmMaterialSend(TtWhmMaterialSend value) {
		return ttWhmMaterialSendDao.insertNonEmptyTtWhmMaterialSend(value);
	}

	@Override
	public int insertTtWhmMaterialSendByBatch(List<TtWhmMaterialSend> value) {
		return ttWhmMaterialSendDao.insertTtWhmMaterialSendByBatch(value);
	}

	@Override
	public int deleteTtWhmMaterialSendById(Integer id) {
		return ttWhmMaterialSendDao.deleteTtWhmMaterialSendById(id);
	}

	@Override
	public int deleteTtWhmMaterialSend(Assist assist) {
		return ttWhmMaterialSendDao.deleteTtWhmMaterialSend(assist);
	}

	@Override
	public int updateTtWhmMaterialSendById(TtWhmMaterialSend enti) {
		return ttWhmMaterialSendDao.updateTtWhmMaterialSendById(enti);
	}

	@Override
	public int updateTtWhmMaterialSend(TtWhmMaterialSend value, Assist assist) {
		return ttWhmMaterialSendDao.updateTtWhmMaterialSend(value, assist);
	}

	@Override
	public int updateNonEmptyTtWhmMaterialSendById(TtWhmMaterialSend enti) {
		return ttWhmMaterialSendDao.updateNonEmptyTtWhmMaterialSendById(enti);
	}

	@Override
	public int updateNonEmptyTtWhmMaterialSend(TtWhmMaterialSend value, Assist assist) {
		return ttWhmMaterialSendDao.updateNonEmptyTtWhmMaterialSend(value, assist);
	}

	public TtWhmMaterialSendDao getTtWhmMaterialSendDao() {
		return this.ttWhmMaterialSendDao;
	}

	public void setTtWhmMaterialSendDao(TtWhmMaterialSendDao ttWhmMaterialSendDao) {
		this.ttWhmMaterialSendDao = ttWhmMaterialSendDao;
	}

}